GtkLinkButton: We use gtk_show_uri_on_window() by default
authorBastien Nocera <hadess@hadess.net>
Thu, 16 Feb 2017 03:52:53 +0000 (04:52 +0100)
committerBastien Nocera <hadess@hadess.net>
Thu, 16 Feb 2017 15:37:55 +0000 (16:37 +0100)
Not gtk_show_uri().

https://bugzilla.gnome.org/show_bug.cgi?id=778726

gtk/gtklinkbutton.c

index f67dbd7234e1ce0ccf3638766d50cbd99d4dfbd0..ab58144026cac1067fe1b18be3175385145a341b 100644 (file)
@@ -38,7 +38,7 @@
  * The URI bound to a GtkLinkButton can be set specifically using
  * gtk_link_button_set_uri(), and retrieved using gtk_link_button_get_uri().
  *
- * By default, GtkLinkButton calls gtk_show_uri() when the button is
+ * By default, GtkLinkButton calls gtk_show_uri_on_window() when the button is
  * clicked. This behaviour can be overridden by connecting to the
  * #GtkLinkButton::activate-link signal and returning %TRUE from the
  * signal handler.
@@ -197,7 +197,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
    * The ::activate-link signal is emitted each time the #GtkLinkButton
    * has been clicked.
    *
-   * The default handler will call gtk_show_uri() with the URI stored inside
+   * The default handler will call gtk_show_uri_on_window() with the URI stored inside
    * the #GtkLinkButton:uri property.
    *
    * To override the default behavior, you can connect to the ::activate-link